﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Mail;

namespace GestorSQL.Utility
{
    public class Messenger
    {
        public static void SendMailMessage(MailMessage msg)
        {
            SmtpClient clienteSmtp = new SmtpClient();

            try
            {
                clienteSmtp.Send(msg);
            }
            catch (Exception)
            {
                // ToDo: Logging
                throw;
            }
        }
    }
}
